| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Pass.h
1 // Pass.h
3 //
5
6 namespace nkGraphics
7 {
14 class Pass : public ProfilableClass, public nkExport::Exportable
15 {
16 public :
17
18 // Constructor, destructor
25 Pass (System* system) noexcept ;
30 virtual ~Pass () ;
31
32 // Getters
36 System* getSystem () const ;
40 TargetOperations* getParent () const ;
44 PASS_TYPE getType () const ;
48 nkMemory::StringView getName () const ;
49
55 void setParent (TargetOperations* parent) ;
61 void setName (nkMemory::StringView name) ;
62
63 // Import / Export
64 virtual void exportClassToTree (nkExport::Node* rootNode) override ;
65 virtual void importClassFromTree (nkExport::Node* rootNode) override ;
66 } ;
67 }
nkGraphics::Pass::~Pass
virtual ~Pass()
nkGraphics::Pass::setName
void setName(nkMemory::StringView name)
nkGraphics::System
Main interface with the component system.
Definition: System.h:14
nkExport::Exportable
An interface to define objects that can be exported using this component.
Definition: Exportable.h:15
nkGraphics::TargetOperations
Describes a target operation set.
Definition: TargetOperations.h:15
nkGraphics::Pass::exportClassToTree
virtual void exportClassToTree(nkExport::Node *rootNode) override
nkGraphics::Pass::importClassFromTree
virtual void importClassFromTree(nkExport::Node *rootNode) override
nkGraphics::Pass::getParent
TargetOperations * getParent() const
nkGraphics::Pass::getType
PASS_TYPE getType() const
nkExport::Node
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
nkGraphics::Pass
The base for a pass within a TargetOperations.
Definition: Pass.h:15
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkGraphics::PASS_TYPE
PASS_TYPE
The pass types available in the component.
Definition: PassType.h:12
nkGraphics::Pass::getName
nkMemory::StringView getName() const
nkGraphics::Pass::getSystem
System * getSystem() const
nkGraphics::Pass::setParent
void setParent(TargetOperations *parent)
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::Pass::Pass
Pass(System *system) noexcept